﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Quartz;
using log4net;
namespace ihongma.test
{
    public class indexJoB:IJob
    {
        #region IJob 成员
        private ILog logger = LogManager.GetLogger(typeof(indexJoB));
        public void Execute(JobExecutionContext context)
        {
            try
            {
                logger.Debug("索引开始");
                CreateIndex();
                logger.Debug("索引结束");
            }
            catch (Exception ex)
            {
                logger.Debug("启动索引任务异常", ex);
            }
        }
        public void CreateIndex()
        {
            logger.Debug("测试成功++++++++++++++===============");
        }
        #endregion
    }
}